<?php
declare (strict_types = 1);

namespace app\admin\model;

use think\Model;
use think\model\concern\SoftDelete;

/**
 * @mixin \think\Model
 */
class Role extends Model
{
    use SoftDelete;
    public function admin(){
        return $this->hasMany(Admin::class,'role_id','id');
    }
}
